/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.lsp.obey.services.internal;


import za.ac.cput.lsp.obey.model.Rectangle;
import za.ac.cput.lsp.obey.services.Shape;



/**
 *
 * @author Abduraghmaan
 */
public class BoxShape implements Shape
{
    @Override
    public double area(Rectangle rect)
    {
        return rect.getWidth() * rect.getHeight();
    }

   
    
    
}
